package com.lv.fast.DTO;

import com.lv.fast.annotation.EnumCheck;
import com.lv.fast.constant.PageConstant;
import com.lv.fast.enums.OperateTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.springframework.validation.annotation.Validated;

/**
 * @Description
 * @Author jie.lv
 */
@Data
@Validated
@ApiModel("操作日志分页查询参数对象")
public class SysLogPageQuery extends PageQuery{

    @ApiModelProperty(value = "操作类型  1删除  2修改  2查询  4新增", example = "1")
    @EnumCheck(enumClass = OperateTypeEnum.class, message = "操作类型不合法")
    private String operateType;

    @ApiModelProperty(value = "用户Id", example = "1400733549725548546")
    private String userId;
}
